home *** CD-ROM | disk | FTP | other *** search
/ World of Video / World of Video.iso / gfxprograms / conversion / jpegv4 / man / djpeg.man < prev   
Text File  |  1995-02-13  |  6KB  |  199 lines

  1.  
  2.  
  3.  
  4.      DJPEG(1)              AMIGA (2 August 1992)              DJPEG(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           djpeg - decompress a JPEG file to an image file
  10.  
  11.      SYNOPSIS
  12.           djpeg [ -colors N ] [ -gif ] [ -pnm ] [ -rle ] [ -targa ] [
  13.           -blocksmooth ] [ -grayscale ] [ -maxmemory N ] [ -nodither ]
  14.           [ -onepass ] [ -verbose ] [ -debug ] [ filename ]
  15.  
  16.      DESCRIPTION
  17.           djpeg decompresses the named JPEG file, or the standard
  18.           input if no file is named, and produces an image file on the
  19.           standard output.  PBMPLUS (PPM/PGM), GIF, Targa, or RLE
  20.           (Utah Raster Toolkit) output format can be selected.  (RLE
  21.           is supported only if the URT library is available.)
  22.  
  23.      OPTIONS
  24.           All switch names may be abbreviated; for example, -grayscale
  25.           may be written -gray or -gr.  Most of the "basic" switches
  26.           can be abbreviated to as little as one letter.  Upper and
  27.           lower case are equivalent (thus -GIF is the same as -gif).
  28.           British spellings are also accepted (e.g., -greyscale),
  29.           though for brevity these are not mentioned below.
  30.  
  31.           The basic switches are:
  32.  
  33.           -colors N
  34.                Reduce image to at most N colors.  This reduces the
  35.                number of colors used in the output image, so that it
  36.                can be displayed on a colormapped display or stored in
  37.                a colormapped file format.  For example, if you have an
  38.                8-bit display, you'd need to reduce to 256 or fewer
  39.                colors.
  40.  
  41.           -quantize N
  42.                Same as -colors.  -colors is the recommended name,
  43.                -quantize is provided only for backwards compatibility.
  44.  
  45.           -gif Select GIF output format.  Since GIF does not support
  46.                more than 256 colors, -colors 256 is assumed (unless
  47.                you specify a smaller number of colors).
  48.  
  49.           -pnm Select PBMPLUS (PPM/PGM) output format (this is the
  50.                default format).  PGM is emitted if the JPEG file is
  51.                gray-scale or if -grayscale is specified; otherwise PPM
  52.                is emitted.
  53.  
  54.           -rle Select RLE output format.  (Requires URT library.)
  55.  
  56.           -targa
  57.                Select Targa output format.  Gray-scale format is
  58.                emitted if the JPEG file is gray-scale or if -grayscale
  59.                is specified; otherwise, colormapped format is emitted
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 6/10/93)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      DJPEG(1)              AMIGA (2 August 1992)              DJPEG(1)
  71.  
  72.  
  73.  
  74.                if -colors is specified; otherwise, 24-bit full-color
  75.                format is emitted.
  76.  
  77.           Switches for advanced users:
  78.  
  79.           -blocksmooth
  80.                Perform cross-block smoothing.  This is quite memory-
  81.                intensive and only seems to improve the image at very
  82.                low quality settings (-quality 10 to 20 or so).  At
  83.                normal quality settings it may make the image worse.
  84.  
  85.           -grayscale
  86.                Force gray-scale output even if JPEG file is color.
  87.                Useful for viewing on monochrome displays.
  88.  
  89.           -maxmemory N
  90.                Set limit for amount of memory to use in processing
  91.                large images.  Value is in thousands of bytes, or
  92.                millions of bytes if "M" is attached to the number.
  93.                For example, -max 4m selects 4000000 bytes.  If more
  94.                space is needed, temporary files will be used.
  95.  
  96.           -nodither
  97.                Do not use dithering in color quantization.  By
  98.                default, Floyd-Steinberg dithering is applied when
  99.                quantizing colors, but on some images dithering may
  100.                result in objectionable "graininess".  If that happens,
  101.                you can turn off dithering with -nodither.  -nodither
  102.                is ignored unless you also say -colors N.
  103.  
  104.           -onepass
  105.                Use one-pass instead of two-pass color quantization.
  106.                The one-pass method is faster and needs less memory,
  107.                but it produces a lower-quality image.  -onepass is
  108.                ignored unless you also say -colors N.  Also, the one-
  109.                pass method is always used for gray-scale output (the
  110.                two-pass method is no improvement then).
  111.  
  112.           -verbose
  113.                Enable debug printout.  More -v's give more output.
  114.                Also, version information is printed at startup.
  115.  
  116.           -debug
  117.                Same as -verbose.
  118.  
  119.      EXAMPLES
  120.           This example decompresses the JPEG file foo.jpg,
  121.           automatically quantizes to 256 colors, and saves the output
  122.           in GIF format in foo.gif:
  123.  
  124.                djpeg -gif foo.jpg > foo.gif
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 6/10/93)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      DJPEG(1)              AMIGA (2 August 1992)              DJPEG(1)
  137.  
  138.  
  139.  
  140.      ENVIRONMENT
  141.           JPEGMEM
  142.                If this environment variable is set, its value is the
  143.                default memory limit.  The value is specified as
  144.                described for the -maxmemory switch.  JPEGMEM overrides
  145.                the default value specified when the program was
  146.                compiled, and itself is overridden by an explicit
  147.                -maxmemory.
  148.  
  149.      SEE ALSO
  150.           cjpeg(1)
  151.           ppm(5), pgm(5)
  152.           Wallace, Gregory K.  "The JPEG Still Picture Compression
  153.           Standard", Communications of the ACM, April 1991 (vol. 34,
  154.           no. 4), pp. 30-44.
  155.  
  156.      AUTHOR
  157.           Independent JPEG Group
  158.  
  159.      BUGS
  160.           Arithmetic coding is not supported for legal reasons.
  161.  
  162.           Still not as fast as we'd like.
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.      Page 3                                          (printed 6/10/93)
  196.  
  197.  
  198.  
  199.